package com.kele.service;

import com.kele.domain.Collections;
import com.kele.domain.Follow;

import java.util.List;

public interface FollowService {
    /**
     *
     * @param userid
     * @param bloggerid
     * @return
     */
    Follow findFollow(int userid,int bloggerid);

    /**
     *
     * @param followid
     * @return
     */
    Integer deleteFollow(int followid);

    /**
     *
     * @param follow
     * @return
     */
    Integer insertFollow(Follow follow);

    /**
     * 遍历粉丝列表
     * @param userid
     * @return
     */
    List<Follow> findFansList(int userid);

    /**
     * 遍历关注列表
     * @param bloggerid
     * @return
     */
    List<Follow> findFollowList(int bloggerid);

}
